
#pragma once

#include <mutex>


struct PCout
{
    static std::mutex& Mutex()
    {
        static std::mutex mut;
        return mut;
    }
};

#define thread_cout(msg)\
    PCout::Mutex().lock(), msg, PCout::Mutex().unlock()


    

